﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KnowledgeBodyRightList.aspx.cs" Inherits="Web.Knowledge.KnowledgeBodyRightList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" Text="知识库列表" ></asp:Label></div>
    </div>
    <div style="width: 100%">
        <div style="width: 100%">
            <div class="listdiv">
                <asp:GridView ID="gvList" runat="server" Width="100%" CssClass="gridview" AutoGenerateColumns="False"
                    OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting"
                    OnSorting="gvList_Sorting">
                    <Columns>
                        <asp:BoundField DataField="AUTOID" HeaderText="编号" />
                        <asp:TemplateField HeaderText="主题">
                            <ItemTemplate>
                                <asp:HyperLink ID="hlModify" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>'
                                    Text='<%# Bind("SUBJ") %>'></asp:HyperLink>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField DataField="KEYWORD" HeaderText="关键字" />
                        <asp:BoundField DataField="TYPEID" HeaderText="知识类型" />
                        <asp:BoundField DataField="CDATE" HeaderText="更新日期" />
                        <asp:BoundField DataField="BODYS" HeaderText="BODYS" Visible="False" />
                        <asp:BoundField DataField="SOLUTION" HeaderText="SOLUTION" Visible="False" />
                        <asp:BoundField DataField="FILENAME1" HeaderText="FILENAME1" Visible="False" />
                        <asp:BoundField DataField="SDATE" HeaderText="SDATE" Visible="False" />
                        <asp:BoundField DataField="GROUPS" HeaderText="GROUPS" Visible="False" />
                        <asp:BoundField DataField="GHID" HeaderText="GHID" Visible="False" />
                        <asp:BoundField DataField="PYM" HeaderText="PYM" Visible="False" />
                        <asp:TemplateField HeaderText="操作" ShowHeader="False" Visible="False">
                            <ItemTemplate>
                                <div style="white-space: nowrap;">
                                    <asp:HyperLink ID="hlModify" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>'>修改</asp:HyperLink>
                                    <asp:LinkButton ID="lbtnDelete" runat="server" Text="删除" CommandName="Delete" CausesValidation="False"
                                        OnClientClick="return confirm('您确认要删除此条记录吗？');"></asp:LinkButton>
                                </div>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle CssClass="row" />
                    <AlternatingRowStyle CssClass="row2" />
                    <HeaderStyle CssClass="header" />
                    <PagerStyle CssClass="pager" />
                </asp:GridView>
            </div>
        </div>
        <div style="width: 100%">
            <div class="pagediv">
                <asp:PlaceHolder ID="phHolder" runat="server"></asp:PlaceHolder>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
